home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- SetMemStatus& = SETMEM(-1*(64000+16))
-
- NewMode = FGbestmode(320,200,2)
- IF NewMode < 0 OR NewMode = 12 THEN
- PRINT "This program requires a 320 x 200 color graphics mode."
- STOP
- END IF
- OldMode = FGgetmode
- FGsetmode NewMode
- Status = FGallocate(1)
- FGsethpage 1
-
- FGsetcolor 2
- FGrect 0, 319, 0, 199
- FGsetpage 1
- FGsetcolor 1
- FGrect 0, 319, 0, 199
- FGwaitkey
-
- FGfadein 0
- FGwaitkey
-
- Status = FGfreepage(1)
- FGsetmode OldMode
- FGreset
-
- END